#include <bits/stdc++.h>
using namespace std;

int main() {
    for (int i = 1; i * i <= 256; ++i)
        cout << i * i << endl;
    return 0;
}